package com.essence.common.model;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class Substation {
    private long id;
    private long pid;
    private String host;
    private int port;
    private String description;
    private boolean isRtu;
    private boolean userEdited;
    private long scanFlag;
    private long createdAt;
    private long updatedAt;
    private List<Point> points = new ArrayList<>();

    private List<Substation> slaveStation = new ArrayList<>();

}
